Universal Chess Interface

Other articles that mention 'Universal Chess Interface'

The Universal Chess Interface (UCI) is an open communication protocol that enables chess engines to communicate with user interfaces.

Section links: (3 Articles)

History

In November 2000, the UCI protocol was released. Designed by Rudolf Huber and Stefan Meyer-Kahlen, the author of Shredder, UCI rivals the older "Chess Engine Communication Protocol" introduced with XBoard/WinBoard.

In 2002, Chessbase, the chess software company which markets Fritz, began to support UCI, which had previously been supported by only a few interfaces and engines.

As of 2021, well over 300 engines are known to directly support UCI.

Section links: (5 Articles)

Design

By design, UCI assigns some tasks to the user interface (i.e., presentation layer) which have traditionally been handled by the engine (at the business layer) itself.

Most notably, the opening book is usually expected to be handled by the UI, by simply selecting moves to play until it is out of book, and only then starting up the engine for calculation in the resulting position. UCI does not specify any on-disk format for the opening book. Different UIs usually have their own proprietary formats.

While the UI can also take responsibility for handling endgame tablebases, this is arguably better handled in the engine itself, as having tablebase information can be useful for considering possible future positions.

Stefan-Meyer Kahlen's UCI protocol in Shredder uses a variation of long algebraic notation for moves. A "nullmove" from an engine to a GUI should be sent as 0000.

Examples:

Section links: (4 Articles)

Features

The uci_limitstrength parameter tells engines with this feature to play at a lower level. The uci_elo parameter specifies the Elo rating at which the engine will aim to play. Engines that have implemented uci_elo include Delfi, Fritz, Hiarcs, Houdini, Junior, Rybka, Shredder, Sjeng and Stockfish.

Section links: (10 Articles)

Variants

The UCI has been modified to play some other games, and chess variants. Some of these are:

Each of these protocols may also define variants of Portable Game Notation (PGN) and Forsyth–Edwards Notation (FEN). The XBoard CECP is said to require far fewer changes to support variants.

Section links: (5 Articles)

See also

Chess Engine Communication Protocol (XBoard protocol)
Shredder
XBoard

Article Resources

List of all 30 referenced articles
Search for articles that mention 'Universal Chess Interface'
Read this article in another language
Download article PDF for offline access
Source on Wikipedia website

--

Gemipedia Home
Go to Article
Using English Wikipedia. Change Language?

--

Size: 4.3 KB. 84.93% smaller than original: 28.5 KB 🤮

Fetched: 1449 ms. Converted: 605 ms. 🐇

Made with 📚 and ❤️ by Acidus

All Wikipedia content is licensed under CC BY-SA 3.0